home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / program / ddj0897.zip / RCSC.ZIP / DEMO86 / STDIO.H < prev   
Text File  |  1997-01-12  |  904b  |  23 lines

  1. /*
  2. ** STDIO.H -- Standard Small C Definitions.
  3. */
  4. #define stdin    0  /* file descriptor for standard input file */
  5. #define stdout   1  /* file descriptor for standard output file */
  6. #define stderr   2  /* file descriptor for standard error file */
  7. #define stdaux   3  /* file descriptor for standard auxiliary port */
  8. #define stdprn   4  /* file descriptor for standard printer */
  9. #define FILE  char  /* supports "FILE *fp;" declarations */
  10. #define ERR   (-2)  /* return value for errors */
  11. #define EOF   (-1)  /* return value for end-of-file */
  12. #define YES      1  /* true */
  13. #define NO       0  /* false */
  14. #define NULL     0  /* zero */
  15. #define CR      13  /* ASCII carriage return */
  16. #define LF      10  /* ASCII line feed */
  17. #define BELL     7  /* ASCII bell */
  18. #define SPACE  ' '  /* ASCII space */
  19. #define NEWLINE LF  /* Small C newline character */
  20.  
  21. #define CONDITION int
  22.  
  23.